package com.ssm.lzh.controller;

import com.ssm.hj.service.InterposeSchemeService;
import com.ssm.lzh.vo.InterposeSchemeVo;
import com.ssm.mapper.InterposeSchemeMapper;
import com.ssm.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

@Controller
public class InterposeSchemeViewController {


    @Resource
    private InterposeSchemeService schemeService;


    @RequestMapping("/lzh/queryt_interpose_scheme")
    @ResponseBody
    public Map<String,InterposeSchemeVo> queryt_interpose_scheme(int id, String sdate, String enddate){

        return this.schemeService.queryt_interpose_scheme(id, sdate,enddate);
    }

}
